/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="AGENDAMKTCONTATOS")
public class AgendaMktContatosProteu implements Serializable{
    @Id
    @Column(name="AGM_ST_CODIGO")
    private String agmStCodigo;
    @Id
    @Column(name="AGMC_IN_CODIGO")
    private Integer agmcInCodigo;

    @Column(name="AGMC_ST_NOME_CONTATO")
    private String agmcStNomeContato;
    @Column(name="AGMC_ST_DEPARTAMENTO")
    private String agmcStDepartamento;
    @Column(name="AGMC_ST_NEXTEL")
    private String agmcStNextel;
    @Column(name="AGMC_ST_ID_NEXTEL")
    private String agmcStIdNextel;
    @Column(name="AGMC_ST_CEL_DDD")
    private String agmcStCelDDD;
    @Column(name="AGMC_ST_CEL")
    private String agmcStCel;
    @Column(name="AGMC_ST_RAMAL")
    private String agmcStRamal;
    @Column(name="AGMC_ST_EMAIL")
    private String agmcStEmail;
    @Column(name="AGMC_DT_NASCIMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date agmcDtNascimento;
    @Column(name="AGMC_ST_CRM")
    private String agmcStCRM;
    @Column(name="AGMC_ST_CRM_UF")
    private String agmcStCrmUF;
    @Column(name="AGMC_ST_ESPECIALIDADE")
    private String agmcStEspecialidade;
    @Lob
    @Column(name="AGMC_BL_OBSERVACOES")
    private String agmcBlObservacoes;
    @Column(name="AGMC_DT_ALTERACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date agmcDtAlteracao;
    @Column(name="USU_IN_CODIGO")
    private Integer usuInCodigo;


    public String getAgmStCodigo() {
        return agmStCodigo;
    }

    public void setAgmStCodigo(String agmStCodigo) {
        this.agmStCodigo = agmStCodigo;
    }

    public String getAgmcBlObservacoes() {
        return agmcBlObservacoes;
    }

    public void setAgmcBlObservacoes(String agmcBlObservacoes) {
        this.agmcBlObservacoes = agmcBlObservacoes;
    }

    public Date getAgmcDtAlteracao() {
        return agmcDtAlteracao;
    }

    public void setAgmcDtAlteracao(Date agmcDtAlteracao) {
        this.agmcDtAlteracao = agmcDtAlteracao;
    }

    public Date getAgmcDtNascimento() {
        return agmcDtNascimento;
    }

    public void setAgmcDtNascimento(Date agmcDtNascimento) {
        this.agmcDtNascimento = agmcDtNascimento;
    }

    public Integer getAgmcInCodigo() {
        return agmcInCodigo;
    }

    public void setAgmcInCodigo(Integer agmcInCodigo) {
        this.agmcInCodigo = agmcInCodigo;
    }

    public String getAgmcStCRM() {
        return agmcStCRM;
    }

    public void setAgmcStCRM(String agmcStCRM) {
        this.agmcStCRM = agmcStCRM;
    }

    public String getAgmcStCel() {
        return agmcStCel;
    }

    public void setAgmcStCel(String agmcStCel) {
        this.agmcStCel = agmcStCel;
    }

    public String getAgmcStCelDDD() {
        return agmcStCelDDD;
    }

    public void setAgmcStCelDDD(String agmcStCelDDD) {
        this.agmcStCelDDD = agmcStCelDDD;
    }

    public String getAgmcStCrmUF() {
        return agmcStCrmUF;
    }

    public void setAgmcStCrmUF(String agmcStCrmUF) {
        this.agmcStCrmUF = agmcStCrmUF;
    }

    public String getAgmcStDepartamento() {
        return agmcStDepartamento;
    }

    public void setAgmcStDepartamento(String agmcStDepartamento) {
        this.agmcStDepartamento = agmcStDepartamento;
    }

    public String getAgmcStEmail() {
        return agmcStEmail;
    }

    public void setAgmcStEmail(String agmcStEmail) {
        this.agmcStEmail = agmcStEmail;
    }

    public String getAgmcStEspecialidade() {
        return agmcStEspecialidade;
    }

    public void setAgmcStEspecialidade(String agmcStEspecialidade) {
        this.agmcStEspecialidade = agmcStEspecialidade;
    }

    public String getAgmcStIdNextel() {
        return agmcStIdNextel;
    }

    public void setAgmcStIdNextel(String agmcStIdNextel) {
        this.agmcStIdNextel = agmcStIdNextel;
    }

    public String getAgmcStNextel() {
        return agmcStNextel;
    }

    public void setAgmcStNextel(String agmcStNextel) {
        this.agmcStNextel = agmcStNextel;
    }

    public String getAgmcStNomeContato() {
        return agmcStNomeContato;
    }

    public void setAgmcStNomeContato(String agmcStNomeContato) {
        this.agmcStNomeContato = agmcStNomeContato;
    }

    public String getAgmcStRamal() {
        return agmcStRamal;
    }

    public void setAgmcStRamal(String agmcStRamal) {
        this.agmcStRamal = agmcStRamal;
    }

    public Integer getUsuInCodigo() {
        return usuInCodigo;
    }

    public void setUsuInCodigo(Integer usuInCodigo) {
        this.usuInCodigo = usuInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final AgendaMktContatosProteu other = (AgendaMktContatosProteu) obj;
        if ((this.agmStCodigo == null) ? (other.agmStCodigo != null) : !this.agmStCodigo.equals(other.agmStCodigo)) {
            return false;
        }
        if (this.agmcInCodigo != other.agmcInCodigo && (this.agmcInCodigo == null || !this.agmcInCodigo.equals(other.agmcInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 37 * hash + (this.agmStCodigo != null ? this.agmStCodigo.hashCode() : 0);
        hash = 37 * hash + (this.agmcInCodigo != null ? this.agmcInCodigo.hashCode() : 0);
        return hash;
    }

    
}
